package com.tf.integrated.service.impl;


import com.tf.integrated.dao.EventresultvehicleinfoDao;
import com.tf.integrated.entity.EventresultvehicleinfoEntity;
import com.tf.integrated.service.EventresultvehicleinfoService;
import org.springframework.stereotype.Service;
import java.util.Map;
import java.util.List;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.ccssoft.m8.common.ccssoft.modules.util.EntityWrapperHandle;
import com.ccssoft.m8.common.ccssoft.modules.util.PageUtils;
import com.ccssoft.m8.common.ccssoft.modules.util.Query;


@Service("eventresultvehicleinfoService")
public class EventresultvehicleinfoServiceImpl extends ServiceImpl<EventresultvehicleinfoDao, EventresultvehicleinfoEntity> implements EventresultvehicleinfoService<EventresultvehicleinfoEntity>
{
    public PageUtils<EventresultvehicleinfoEntity> queryPage(Map<String, Object> params)
    {
        EntityWrapperHandle<EventresultvehicleinfoEntity> ew = new EntityWrapperHandle<EventresultvehicleinfoEntity>(params);
        Page<EventresultvehicleinfoEntity> page = this.selectPage(new Query<EventresultvehicleinfoEntity>(params).getPage(),ew);
        page.setTotal(this.selectCount(ew));
        return new PageUtils<EventresultvehicleinfoEntity>(page);
    }

    public List<EventresultvehicleinfoEntity> queryPageByLike(Map<String, Object> params)
    {
        return baseMapper.queryPageByLike(params);
    }
}
